package com.pet.article.feign;

import com.pet.model.common.dtos.ResponseResult;
import com.pet.model.user.pojos.ApUserFollow;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(name = "pet-user",path = "/api/apUserFollow",contextId = "apUserFollow")
public interface ApUserFollowFeign {
    /**
     * 查询用户关注记录
     */
    @GetMapping("getUserFollow")
    public ResponseResult<ApUserFollow> getUserFollow(@RequestParam("userId")Integer userId, @RequestParam("followId")Integer followId);
}
